import akshare as ak
import sqlite3

df =  ak.stock_zh_a_hist(symbol='002900',period='daily',start_date='20250101',end_date='20260101')

print(df)

with sqlite3.connect('example.db') as conn:
    df.to_sql('stock_zh_a_hist_002900',conn,if_exists='replace',index=False)
